package subscriber

import (
	"context"
	"github.com/micro/go-micro/util/log"

	weather "weather/proto/weather"
)

type Weather struct{}

func (e *Weather) Handle(ctx context.Context, msg *weather.Response) error {
	log.Log("Handler Received message: ", msg.Code)
	return nil
}

func Handler(ctx context.Context, msg *weather.Response) error {
	log.Log("Function Received message: ", msg.Code)
	return nil
}
